home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Environments / PowerFantasm™ 4.19a / Beginners guide / Beginners Mac Assembly - ed.srd / Beginners Mac Assembly - ed.srd.rsrc / PICT_41.png < prev    next >
Portable Network Graphic  |  1996-08-28  |  79KB  |  816x1056  |  8-bit (256 colors)
Labels: reckoner | sky
OCR: Wed Aug 28, 1996 Beginners Guide To Macintosh Assembly Language Programming Page START INITIALISE THE CURSOR OPEN MOONIM ADD 10+ 0E+0C- PRINT THE RESUL WAIT FOR A KEY -PRESS No Yes CLOSE THE WINDOW ND Now we have new box a diamond Diamonds are used to indicate decisions. In this the key press Q"? If it wasn't then the line goes from the decision box, back to get a the letter was then the line goes tO "close the window" and "End" We need way tc compare the contents Q op with the letter "O" As was mentioned are represented ir the computer by numbers. byte can represent the whole charact logical to assume that when say "wait key" returns the key in op what mean is that returns num nber n the lower byte op that represents the character of the key pres The numbers are defined by the ASCII code ...